package com.fa.oj.judge.codesandbox;

import com.fa.oj.judge.codesandbox.model.ExecuteCodeRequest;
import com.fa.oj.judge.codesandbox.model.ExecuteCodeResponse;

/**
 * ClassName: CodeSandbox
 * Package: com.fa.oj.judge.codesandbox
 * Description: 代码沙箱接口定义
 *
 * @Author:
 * @Create: 2024/4/23 - 14:39
 * @Version: v1.0
 */
public interface CodeSandbox {

    /**
     * 执行代码
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);

    //todo 增加一个查看代码沙箱状态的接口
}
